#pragma once

#include "../typedef.h"
#include "../sysapi.h"

NAMESPACE_BEGIN(io)

class SYS_API Path
{
public:
	static const wchar_t PathSeperator;
	static const wchar_t* PathSeperatorString;

	static String CombinePath(const String& path1,const String& path2);
	static String CombineExtension(const String& path,const String& extension);
	static String ReplaceExtension(const String& path,const String& extension);

	static bool IsRemotePath(const String& filename);
	static bool IsFullPath(const String& filename);

	static String GetTitle(const String& filename);
	static String GetTitleWithExtension(const String& filename);
	static String GetExtension(const String& filename);
	static String GetDirectoryName(const String& filename);

	static String GetExeDirectory();
};

NAMESPACE_END()